package com.zg.common.core.util;

import cn.hutool.crypto.SecureUtil;
import com.zg.common.core.C;

/**
 * @author Zxb
 */
public class PwdUtil {
    public static String generatePwd(String str) {
        return SecureUtil.md5(str + C.SALT);
    }
    public static String generateDefaultPwd() {
        return generatePwd(C.DEFAULT_PWD);
    }
}
